using UnityEngine;
using System.Collections;
using System;


[System.Serializable]
public class NPGSfxIndex : BasicResIndexInfo
{
    /************
     * 资源加载路径
     **/
    public override string assetPath { get { return "sfx/sfx_" + mainId + ".unity3d"; } }
    public override string objName { get { return "sfx_" + mainId + "_" + subId; } }

    /***************
     * 根据主id和副id获取对应的资源路径
     **/
    public static string getAssetPath(int _mainId) { return "sfx/sfx_" + _mainId + ".unity3d"; }
    public static string getObjName(int _mainId, int _subId) { return "sfx_" + _mainId + "_" + _subId; }
}
